<h2>
	Signup
</h2>
<p>
	Please enter your information in order to sign you up.
</p>
<?php
	echo validation_errors();
	
	echo form_open('signup') . PHP_EOL;
	
	echo "<p>Username: " . $help_images['username'] . "<br />" . form_input('username', $repopulation['username']) . "</p>" . PHP_EOL;
	
	echo "<p>Password: " . $help_images['password'] . "<br />" . form_password('password1') . "<br />" . PHP_EOL;
	echo "Retype password: <br />" . form_password('password2') . "</p>" . PHP_EOL;
	
	echo "<p>E-mail: " . $help_images['email'] . "<br />" . form_input('email1', $repopulation['email1']) . "<br />" . PHP_EOL;
	echo "Retype e-mail: <br />" . form_input('email2', $repopulation['email2']) . "</p>" . PHP_EOL;
	
	echo "<p>" . form_checkbox('agreement', 'accept', FALSE) . "I agree to " . anchor_popup('signup/terms_of_use', 'The terms of use', $popup_attributes) . ".</p>" . PHP_EOL;
	
	echo "<p>" . form_submit('user_submit', 'Register') . "</p>";
?>
</form>